package cn.tedu.controller;

import cn.tedu.vo.SysResult;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/house/")
public class HouseController {

    @RequestMapping("houseList/{field}/{page}/{rows}")// $.getJson("/house/houseList/field/page/rows",function (data)
    public SysResult houseList(@PathVariable String field,@PathVariable Integer page,@PathVariable Integer rows){
        System.out.println(field);
        System.out.println(page);
        System.out.println(rows);
        return SysResult.success(null);
    }
}
